<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport" id="viewportMeta"
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <script src="https://app.kpgansu.cn/jmportalpub/jmportal_files/js/jssdk/index.js"></script>
  <title></title>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.js"></script>
  <meta name="viewport" id="viewportMeta">
  <script>
    let initViewport = function (height) {
      let metaEl = document.querySelector("#viewportMeta");
      let content = "height=" + height + ",width=device-width,initial-scale=1.0,user-scalable=no";
      metaEl.setAttribute('name', 'viewport');
      metaEl.setAttribute('content', content);
    }
    let realHeight = window.innerWidth > window.innerHeight ? window.innerWidth : window.innerHeight
    initViewport(realHeight);
    document.addEventListener("click", function (event) {
      if (event.target.matches(".subRes")) {
        window.location.reload();
      }
    });
  </script>
</body>

</html>